mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 23 Nov 2023 15:27:52 +0000 (16:27 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 23 Nov 2023 15:27:52 +0000 (16:27 +0100)
commitfc57b69de22d2dd9c22ba1dfd41341f1795b9bf9
tree9da977426ac7a68340934f85473a977c23a4b1ea
parentce4b26e9097f58b1b581fe4468ee944272641233
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h